package com.we823.cms.model.sys;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.we823.cms.model.BaseModel;

@Entity
@Table(name="sys_role_resource_permission")
public class RoleResourcePermission extends BaseModel<Integer> {

	private static final long serialVersionUID = 5820648649268489273L;
	
	@Column(name="role_id")
	private Integer roleId=0;
	@Column(name="resource_id")
	private Integer resourceId=0;
	@Column(name="permission_ids")
	private String permissionIds;
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public Integer getResourceId() {
		return resourceId;
	}
	public void setResourceId(Integer resourceId) {
		this.resourceId = resourceId;
	}
	public String getPermissionIds() {
		return permissionIds;
	}
	public void setPermissionIds(String permissionIds) {
		this.permissionIds = permissionIds;
	}
	
}
